Module-level declarations

Queries

@mount("marketplace.find_distinct_original_names_by_interface_q") query find_distinct_original_names_by_interface_q(interface_name: text): list<(display_name: text,)>
@mount("marketplace.find_listed_originals_by_interface_price_range_q") query find_listed_originals_by_interface_price_range_q(interface_name: text, min: integer, max: integer, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.find_listed_originals_by_interface_q") query find_listed_originals_by_interface_q(interface_name: text, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.find_original_by_id_q") query find_original_by_id_q(id: byte_array): map<text, gtv?>?
@mount("marketplace.find_original_instance_trade_history_page_q") query find_original_instance_trade_history_page_q(original_id: byte_array, before_rowid: rowid, page_size: integer): (count: integer, events: list<(seller_id: byte_array, buyer_id: byte_array, asset_id: byte_array, price: integer, timestamp: integer, block_height: integer, rowid: rowid, indirect: list<byte_array>)>, last_rowid: gtv)
@mount("marketplace.find_original_instances_by_owner_id_and_status_q") query find_original_instances_by_owner_id_and_status_q(owner_id: byte_array, listed_state: boolean, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.find_original_instances_by_owner_id_q") query find_original_instances_by_owner_id_q(owner_id: byte_array, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.find_originals_by_creator_id_q") query find_originals_by_creator_id_q(creator_id: byte_array, p_from: p_from, page_size: integer): (count: integer, instances: list<map<text, gtv?>>, last_p_from: p_from)
Link copied to clipboard
@mount("marketplace.get_categories_q") query get_categories_q(): gtv
Link copied to clipboard
@mount("marketplace.get_category_attributes_q") query get_category_attributes_q(name: text): list<text>
Link copied to clipboard
@mount("marketplace.get_grouped_interfaces_q") query get_grouped_interfaces_q(): map<text, list<map<text, gtv>>>
Link copied to clipboard
@mount("marketplace.get_interface_filters_q") query get_interface_filters_q(interface: text): map<text, gtv>
Link copied to clipboard
@mount("marketplace.search_q") query search_q(text: text): (type: text, hit: gtv)?

Operations

Link copied to clipboard
@mount("marketplace.buy_original_op") operation buy_original_op(auth_id: auth_id, original_id: byte_array)
Link copied to clipboard
@mount("marketplace.change_original_price_op") operation change_original_price_op(auth_id: auth_id, original_id: byte_array, price: integer)
Link copied to clipboard
@mount("marketplace.list_original_op") operation list_original_op(auth_id: auth_id, original_id: byte_array, asset_id: byte_array, price: integer)
Link copied to clipboard
@mount("marketplace.unlist_original_op") operation unlist_original_op(auth_id: auth_id, original_id: byte_array)